package com.lwc.cfdns.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

/**
 * 性别枚举属性
 * https://baomidou.com/pages/8390a4/#%E6%AD%A5%E9%AA%A41-%E5%A3%B0%E6%98%8E%E9%80%9A%E7%94%A8%E6%9E%9A%E4%B8%BE%E5%B1%9E%E6%80%A7
 *
 * @author luwc
 * @title SexEnum
 * @description
 * @time 2023/4/25 19:04:32
 * @version: 1.0
 */
public enum SexEnum {
    UNKNOWN(0, "未知"),
    MAN(1, "男"),
    GIRL(2, "女");

    @EnumValue
    private final int sex;
    private final String descp;

    SexEnum(int sex, String descp) {
        this.sex = sex;
        this.descp = descp;
    }
}
